package com.nj.api.service;

import com.nj.api.entity.BidInfoForUser;
import com.nj.api.mapper.BidInfoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class BidInfoServiceImpl implements BidInfoService {
    @Resource
    private BidInfoMapper mapper;
    @Override
    public List getRecords(Long id) {
        return mapper.getRecords(id);
    }

    @Override
    public List<BidInfoForUser> getByUserId(Integer id) {
        return mapper.getByUserId(id);
    }
}
